package com.example.spring.service;

import com.example.spring.dao.OrderDao;

public class OrderService {
    private OrderDao orderDao;

    public void setOrderDao(OrderDao orderDao) {
        this.orderDao = orderDao;
    }
    /**生成订单的业务方法*/
    public void generate() {
        orderDao.insert();
    }
}
